package com.ctgu.edu.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ApplySeekerInf {
    private Integer applySeekerId;
    private Integer applyJobId;
    private Integer applyFlag;
    private Integer applySalary;
    private Integer seekerId;
    private String seekerAccountId;
    private String seekerTel;
    private String seekerName;
    private String seekerSex;
    private String seekerEdu;
    private String seekerNativePlace;
    //调整为前端时间显示格式
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date seekerBirthday;
    private String seekerHeight;
    private String seekerSkills;
    private String seekerHealth;

    public ApplySeekerInf() {
    }

    public ApplySeekerInf(Integer applySeekerId, Integer applyJobId, Integer applyFlag, Integer applySalary, Integer seekerId, String seekerAccountId, String seekerTel, String seekerName, String seekerSex, String seekerEdu, String seekerNativePlace, Date seekerBirthday, String seekerHeight, String seekerSkills, String seekerHealth) {
        this.applySeekerId = applySeekerId;
        this.applyJobId = applyJobId;
        this.applyFlag = applyFlag;
        this.applySalary = applySalary;
        this.seekerId = seekerId;
        this.seekerAccountId = seekerAccountId;
        this.seekerTel = seekerTel;
        this.seekerName = seekerName;
        this.seekerSex = seekerSex;
        this.seekerEdu = seekerEdu;
        this.seekerNativePlace = seekerNativePlace;
        this.seekerBirthday = seekerBirthday;
        this.seekerHeight = seekerHeight;
        this.seekerSkills = seekerSkills;
        this.seekerHealth = seekerHealth;
    }

    public ApplySeekerInf(Apply apply,Seeker seeker) {
        this.applySeekerId = apply.getApplySeekerId();
        this.applyJobId = apply.getApplyJobId();
        this.applyFlag = apply.getApplyFlag();
        this.applySalary = apply.getApplySalary();
        this.seekerId = seeker.getSeekerId();
        this.seekerAccountId = seeker.getSeekerAccountId();
        this.seekerTel = seeker.getSeekerTel();
        this.seekerName = seeker.getSeekerName();
        this.seekerSex = seeker.getSeekerSex();
        this.seekerEdu = seeker.getSeekerEdu();
        this.seekerNativePlace = seeker.getSeekerNativePlace();
        this.seekerBirthday = seeker.getSeekerBirthday();
        this.seekerHeight = seeker.getSeekerHeight();
        this.seekerSkills = seeker.getSeekerSkills();
        this.seekerHealth = seeker.getSeekerHealth();
    }

    public Integer getApplySeekerId() {
        return applySeekerId;
    }

    public void setApplySeekerId(Integer applySeekerId) {
        this.applySeekerId = applySeekerId;
    }

    public Integer getApplyJobId() {
        return applyJobId;
    }

    public void setApplyJobId(Integer applyJobId) {
        this.applyJobId = applyJobId;
    }

    public Integer getApplyFlag() {
        return applyFlag;
    }

    public void setApplyFlag(Integer applyFlag) {
        this.applyFlag = applyFlag;
    }

    public Integer getApplySalary() {
        return applySalary;
    }

    public void setApplySalary(Integer applySalary) {
        this.applySalary = applySalary;
    }

    public Integer getSeekerId() {
        return seekerId;
    }

    public void setSeekerId(Integer seekerId) {
        this.seekerId = seekerId;
    }

    public String getSeekerAccountId() {
        return seekerAccountId;
    }

    public void setSeekerAccountId(String seekerAccountId) {
        this.seekerAccountId = seekerAccountId;
    }

    public String getSeekerTel() {
        return seekerTel;
    }

    public void setSeekerTel(String seekerTel) {
        this.seekerTel = seekerTel;
    }

    public String getSeekerName() {
        return seekerName;
    }

    public void setSeekerName(String seekerName) {
        this.seekerName = seekerName;
    }

    public String getSeekerSex() {
        return seekerSex;
    }

    public void setSeekerSex(String seekerSex) {
        this.seekerSex = seekerSex;
    }

    public String getSeekerEdu() {
        return seekerEdu;
    }

    public void setSeekerEdu(String seekerEdu) {
        this.seekerEdu = seekerEdu;
    }

    public String getSeekerNativePlace() {
        return seekerNativePlace;
    }

    public void setSeekerNativePlace(String seekerNativePlace) {
        this.seekerNativePlace = seekerNativePlace;
    }

    public Date getSeekerBirthday() {
        return seekerBirthday;
    }

    public void setSeekerBirthday(Date seekerBirthday) {
        this.seekerBirthday = seekerBirthday;
    }

    public String getSeekerHeight() {
        return seekerHeight;
    }

    public void setSeekerHeight(String seekerHeight) {
        this.seekerHeight = seekerHeight;
    }

    public String getSeekerSkills() {
        return seekerSkills;
    }

    public void setSeekerSkills(String seekerSkills) {
        this.seekerSkills = seekerSkills;
    }

    public String getSeekerHealth() {
        return seekerHealth;
    }

    public void setSeekerHealth(String seekerHealth) {
        this.seekerHealth = seekerHealth;
    }
}
